#include "Network.h"

unsigned int	AgoraCore::AgoraNetworkInitialize()
{
#ifdef _WIN32
	WSADATA		wsaData;
	if (WSAStartup(MAKEWORD(2,2), &wsaData) != 0)
		return (1);
#endif
	return (0);
}

unsigned int	AgoraCore::AgoraNetworkFinalize()
{
#ifdef _WIN32
	if (WSACleanup() != 0)
		return (1);
#endif
	return (0);
}